import {
	defineConfig
} from 'vite'
import uni from '@dcloudio/vite-plugin-uni'

export default defineConfig({
	plugins: [
		uni()
	],
	css: {
		preprocessorOptions: {
			scss: {
				silenceDeprecations: ['legacy-js-api', 'color-functions', 'import'],
				additionalData: `@import "@/uni_modules/uview-plus/theme.scss";`
			}
		}
	}
})